package com.dxy.dxyuser.client;

import com.dxy.dxycommon.VO.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * junfeng 2018/11/12
 */
@FeignClient(name = "user")
public interface UserClient {

    /*用户列表对外client*/
    @RequestMapping(value = "/user/list")
    ResultVO list(@RequestParam("username") String username,
                  @RequestParam("phone") String phone,
                  @RequestParam("start") String start,
                  @RequestParam("end") String end,
                  @RequestParam("pageSize") Integer pageSize,
                  @RequestParam("limit") Integer limit);

    /*删除用户*/
    @RequestMapping(value = "/user/delete")
    ResultVO delete(@RequestParam("id") String id);







}
